namespace Dimebrain.TweetSharp.Fluent
{
    /// <summary>
    /// Extension methods for querying the SocialGraph
    /// </summary>
    public static class ITwitterSocialGraphExtensions
    {
        /// <summary>
        /// Gets user IDs
        /// </summary>
        /// <param name="instance">The instance.</param>
        /// <returns>the instance</returns>
        public static ITwitterSocialGraphIds Ids(this ITwitterSocialGraph instance)
        {
            instance.Root.Parameters.Action = "ids";
            return new TwitterSocialGraphIds(instance.Root);
        }
    }
}